package com.lyf.scm.job.remote;

import com.rome.arch.core.clientobject.Response;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * description:
 *直营（门店）预测计划Job
 * @author: haodong
 * @data: 2020/9/3 10:18
 */
@FeignClient(name = "scm-plan-service")
public interface DirectlyStoreRemoteService {

    /**
     * 更新确认目标
     * @param startDate 开始日期
     * @param endDate 结束日期
     * {@link Response}
     */
    @RequestMapping(value = "/api/v1/salesPlanDirectlyStore/updateConfirmTarget", method = RequestMethod.POST)
    Response updateConfirmTarget(@RequestParam("startDate") String startDate,
                                 @RequestParam("endDate") String endDate);
}
